package com.example.sys.entity.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 角色菜单表(SysRoleMenu)实体类
 *
 * @author makejava
 * @since 2022-03-10 12:04:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Entity
@Table(name="sys_role_menu")
public class SysRoleMenu implements Serializable {
    private static final long serialVersionUID = -16414891069054880L;
    /**
    * 角色菜单表
    */
    @Id
    private Long roleMenuId;
    /**
    * 角色id
    */
    private Long roleId;
    /**
    * 菜单id
    */
    private Long menuId;


}